﻿<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <hi:pagetitle runat="server" />
    <link rel="stylesheet" type="text/css" href="http://res.juseshop.com/css/vshop_xqy.css">
    <meta name="tp_page" content="101110003.0">
    <meta name="format-detection" content="telephone=no">
    <meta name="msapplication-tap-highlight" content="no" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
    <script src="http://res.juseshop.com/templates/vshop/default/script/jquery-1.11.0.min.js"></script>
    <script type="text/javascript" src="http://res.juseshop.com/utility/wnxd_statisticsp.js"></script>
</head>
<body style="margin-bottom: 6em;">
    <input type="hidden" runat="server" id="hidden_skus" clientidmode="Static" />
    <div class="top clearfix">
        <div class="top-1 w33">
            <a href="javascript:history.back();"><img src="http://image.juseshop.com/vshop/images/fhan.png"></a>
        </div>
        <div class="top-2 w33">
            <h2>商品详情</h2>
        </div>
        <div class="top-3 w33">
        </div>
    </div>
    <div class="swipe">
        <ul id="slider" runat="server" clientidmode="Static"></ul>
    </div>
    <div id="pagenavi" runat="server" clientidmode="Static"></div>
    <dl class="goods_text">
        <dd>
            <asp:literal runat="server" id="bname" /> - <asp:literal runat="server" id="pname" /> - <span style="color:#ee2f5b;"><asp:literal runat="server" id="ptext" /></span>
        </dd>
        <dt>
            <span class="l">
                ￥<wnxd id="spSalaPrice"><asp:literal runat="server" id="price" /></wnxd><del>￥<asp:literal runat="server" id="total" /></del>
            </span>
            <span class="r"><font>月销量<asp:literal runat="server" id="count" />件</font></span>
        </dt>
    </dl>
    <div style="display: none;" id="spStock"><asp:literal runat="server" id="litStock" /></div>
    <p class="goods_line"></p>
    <div class="goods_id bf">
        <p class="lhh fl fs3 c9">商品编号：<span class="cccccc" runat="server" id="pcode"></span><br>告知商品编号即可</p>
        <div class="goods_id_photo fr">
            <a class="db fs3 ccccccc fs3 lhh" href="tel:4000731513"><span class="c9">电话订购：</span>400-0731-513</a>
            <a class="db fs3 ccccccc fs3 lhh" href="tel:15399909969"><span class="c9">短信订购：</span>153 9990 9969</a>
        </div>
    </div>
    <p class="goods_line"></p>
    <!-- 关联商品 颜色规格等 start -->
    <hi:wnxd_skuselector runat="server" />
    <p class="goods_line"></p>
    <!-- 关联商品 颜色规格等 end -->
    <div class="erhhrtj">
        <span>数量：</span>
        <p class="num">
            <a class="readonly" href="javascript:wnxd_sub();">-</a>
            <input class="is_nan" id="buyNum" type="number" value="1">
            <a href="javascript:wnxd_add();">+</a>
        </p>
        <p><a href="javascript:AddFavorite();"><i><img src="http://image.juseshop.com/vshop/images/shoucang.png"></i>收藏</a></p>
    </div>
    <div class="erhgerh">
        <img src="http://image.juseshop.com/vshop/images/rtjr.png">
    </div>
    <div style="height: 104px;" class="tab_fix_box">
        <dl class="detail_tab">
            <dd class="cur">商品详情</dd>
            <dd>商品参数</dd>
            <dd>用户评价</dd>
            <dd>购买咨询</dd>
            <dd>售后服务</dd>
        </dl>
    </div>
    <div class="asdgrt" style="margin-bottom: 2%;" runat="server" id="litDescription">
    </div>
    <div class="zhuce clearfix">
        <hi:wnxd_vshop_user runat="server" />
    </div>
    <div class="dianhua clearfix">
        <a href="tel:4000731513"><p>400 0731 513</p><p>点击电话订购</p></a>
        <a href="sms:15399909969"><p>153 9990 9969</p><p>点击短息订购</p></a>
    </div>
    <div class="sj-footer">
        <p>湘ICP备14013922号-2</p>
        <p><a href="/Vshop/">首页</a>|<a>标准版</a>|<a href="/">电脑版</a>|<a href="/help/show-31.htm">联系我们</a></p>
    </div>
    <div class="awefwg buy_bottom">
        <!--<a style="width: 27%;" href="javascript:void(0);" class="add_cart" id="buyButton"><span>立即购买</span></a>-->
        <a style="width: 27%;" href="tel:400-0731-513" class="add_cart"><span>电话订购</span></a>
        <a style="width: 27%; background-color: #f6bb42;" href="javascript:void(0);" class="add_cart" id="MarkButton"><span>立即购买</span></a>
        <a style="width: 27%;" class="add_cart edth" id="addcartButton" href="javascript:void(0);" onclick="AddProductToCart()"><span>加入购物车</span></a>
        <a href="/vshop/ShoppingCart.aspx" class="gwc">
            <div><!--<span id="goods_cart_num"></span>--></div>
        </a>
    </div>
</body>
<!-- 幻灯片特效 -->
<script type="text/javascript" src="http://res.juseshop.com/templates/vshop/default/script/touchScroll.js"></script>
<script type="text/javascript" src="http://res.juseshop.com/templates/vshop/default/script/touchslider.dev.js"></script>
<script type="text/javascript">
    function AddFavorite() {
        var data = {};
        data.ProductId = $("#hiddenProductId").val();
        $.post("/api/VshopProcess.ashx?action=AddFavorite", data, function (json) {
            if (json.success === true) {
                $("#imgFavorite").hide().css('display', 'block').addClass('select');
                $('#addF').addClass('hide');
                $('#addedF').removeClass('hide');
                alert_h('收藏成功！');
            }
            else {
                alert_h('您当前还没有登录！', function () {
                    location.replace('/vshop/MyFavorites.aspx?returnUrl=/vshop/ProductDetails.aspx?productId=' + data.ProductId);
                });
            }
        });
    }
    (function () {
        var active = 0,
            as = document.getElementById('pagenavi').getElementsByTagName('a');
        for (var i = 0; i < as.length; i++) {
            (function () {
                var j = i;
                as[i].onclick = function () {
                    t2.slide(j);
                    return false;
                }
            })();
        }
        var t2 = new TouchSlider({
            id: 'slider', speed: 600, timeout: 6000, before: function (index) {
                as[active].className = '';
                active = index;
                as[active].className = 'active';
            }
        });
    })();
</script>
<!-- 幻灯片特效 -->
<script type="text/javascript" src="http://res.juseshop.com/templates/vshop/default/script/main.js"></script>
<script src="http://res.juseshop.com/utility/bootflat/js/bootstrap.min.js"></script>
<script src="http://res.juseshop.com/utility/wnxd.product.helper.js" type="text/javascript"></script>
<script type="text/javascript" src="http://res.juseshop.com/utility/wnxd_pdl.js"></script>
<script type="text/javascript">
    (function () {
        var $num = $(".is_nan");
        window.wnxd_sub = function () {
            var i = parseInt($num.val());
            if (i > 1) {
                $num.val(i - 1);
            }
        };
        window.wnxd_add = function () {
            $num.val(parseInt($num.val()) + 1);
        };
        var $list = $(".wnxd_SKUSelector"),
            pid = $("#hiddenProductId").val();
        $list.click(function () {
            var $this = $(this);
            if ($this.hasClass("cur")) return;
            $list.filter(".cur").removeClass("cur");
            var SkuId = $this.attr("SkuId");
            $list.filter("[SkuId='" + SkuId + "']").addClass("cur");
            var tpid = $this.attr("Pid");
            if (tpid == pid) {
                var skuItems = JSON.parse($('#hidden_skus').val()),
                    selectedSku = skuItems[SkuId];
                ResetCurrentSku(selectedSku.SkuId, selectedSku.SKU, selectedSku.Weight, selectedSku.Stock, selectedSku.SalePrice.toFixed(2));
            }
            else location.href = "/vshop/product_detail-" + tpid + ".htm";
        });
        wnxd.pdl(200, "http://image.juseshop.com/storage/loading.gif");
    })();
</script>
</html>